package com.hc.service;


import com.hc.bean.User;

import java.util.List;

public interface UserService {

    public List<User> findAll();

    public List<User> findUserByName(String name);

    public Integer addUser(User user);

    public Integer updateUser(User user);

    public Integer deleteUser(Integer uid);

    public User getUserById(Integer uid);
}
